<?php

class Application_Model_DbTable_DbUserTeacher extends Zend_Db_Table_Abstract
{

	protected $_name = 'tbl_teacher';
	//function for getting record user by user_id
	public function addteacher($inserteacher)
	{
		$data = array(
				"id_code"	=>	$inserteacher["id_code"],
     			"dpt_id"	=>	$inserteacher[""],
     			"teacher_name"	=>	$inserteacher["teacher_name"],
     			"gender"	=>	$inserteacher["gender"],
     			"pob"	=>	$inserteacher["pob"],
     			"dob"	=>	$inserteacher["dob"],
     			"tel" =>$inserteacher["tel"],
     			"email" =>$inserteacher["email"],
     			"password" =>$inserteacher[""],
     			"education_level" =>$inserteacher["education_level"],
     			"finish_from" =>$inserteacher["finish_from"],
     			"year" =>$inserteacher["year"],
     			"description" =>$inserteacher["description"],
     			"status" =>$inserteacher["status"]
		);
		$id=$this->insert($data);
	
	
	}
}

